<%@page language="java" pageEncoding="utf-8" contentType="text/html; charset=utf-8" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>超市订单管理系统</title>
    <link type="text/css" rel="stylesheet" href="/css/style.css" />
    <link type="text/css" rel="stylesheet" href="/css/public.css" />
</head>
<body>
     <div class="location">
         <strong>你现在所在的位置是:</strong>
         <span>供应商管理页面 >> 信息查看</span>
     </div>
     <div class="${updateClass }">${updateMsg }</div>
     <c:remove var="updateMsg" scope="session"/>
     <c:remove var="updateClass" scope="session"/>

     <div class="providerView">
         <p><strong>供应商编码：</strong><span>${providerInfo.idName }</span></p>
         <p><strong>供应商名称：</strong><span>${providerInfo.providerName }</span></p>
         <p><strong>联系人：</strong><span>${providerInfo.phoneName }</span></p>
         <p><strong>联系电话：</strong><span>${providerInfo.phone }</span></p>
         <p><strong>传真：</strong><span>${providerInfo.fax }</span></p>
         <div class="providerAddBtn">
       		 <input type="button" id="update" value="修改" >
             <input type="button" id="back" name="back" value="返回" >
         </div>
     </div>
<footer class="footer">
    版权归北大青鸟
</footer>
</body>

<!-- 保存当前页的后台路径和参数 -->
<c:set var="urlLoading" value="/provider/unique" scope="session"></c:set>
<c:set var="paramLoading" value="id=${providerInfo.id }&page=providerDetail.jsp" scope="session"></c:set>

<!-- 设置提示信息显示时间 -->
<script>
    $(".update-suc,.update-err").slideUp(1000*2);
</script>

<script type="text/javascript">
$(".providerAddBtn :button[value='返回']").bind("click", function() {
	toJump("/provider/query",
			"curr=${paProvider.curr}", "#mainframe");
});
$(".providerAddBtn :button[value='修改']").bind("click", function() {
	toJump("/provider/modify",
			null, "#mainframe");
});
</script>
</html>
